package com.googlecode.boliang.q10;

public class BTree {

	int nodeValue; 
	BTree leftChildNode; 
	BTree rightChildNode; 
	
	public BTree(int nodeValue, BTree leftChildNode, BTree rightChildNode) {
		this.nodeValue = nodeValue; 
		this.leftChildNode = leftChildNode; 
		this.rightChildNode = rightChildNode; 
	}

	public int getNodeValue() {
		return nodeValue;
	}

	public void setNodeValue(int nodeValue) {
		this.nodeValue = nodeValue;
	}

	public BTree getLeftChildNode() {
		return leftChildNode;
	}

	public void setLeftChildNode(BTree leftChildNode) {
		this.leftChildNode = leftChildNode;
	}

	public BTree getRightChildNode() {
		return rightChildNode;
	}

	public void setRightChildNode(BTree rightChildNode) {
		this.rightChildNode = rightChildNode;
	}
	
}
